<%@ include file="/WEB-INF/jsp/taglib.jsp" %>

<jsp:useBean id="actionBean" scope="request" type="com.rupertjones.globalcron.web.InfoJobLogAction" />

<s:layout-render name="/WEB-INF/jsp/layout.jsp" title="Global Cron" subtitle="Job - ${actionBean.job.name}">
    <s:layout-component name="body">
    <a href="InfoJob.action?job.id=${actionBean.job.id}">back to job</a>

    <h1>${actionBean.job.name} log - ${actionBean.log.lastModified}</h1>
        <table class="log">
        <tr>
            <td><pre class="alt2" dir="ltr" style="
            margin: 0px;
            padding: 6px;
            border: 0px inset;
            width: 100%;
            height: 600px;
            text-align: left;
            overflow: auto;
            white-space: pre-wrap;">${actionBean.output}</pre></td>
        </tr>
        </table>
    </s:layout-component>
</s:layout-render>
